//package com.gg.user.gguser.message;
//
//import com.pdd.pop.sdk.common.util.JsonUtil;
//import com.pdd.pop.sdk.http.api.request.PddDdkGoodsSearchRequest;
//import com.pdd.pop.sdk.http.api.request.PddGoodsOptGetRequest;
//import com.pdd.pop.sdk.http.api.response.PddDdkGoodsSearchResponse;
//import com.pdd.pop.sdk.http.PopClient;
//import com.pdd.pop.sdk.http.PopHttpClient;
//import com.pdd.pop.sdk.http.api.response.PddGoodsOptGetResponse;
//
//import java.util.*;
//
//public class PopClientDemo {
//    public static void main(String[] args) throws Exception {
//
//        String clientId = "fcd46f51cb0542adaebfb37a2b9d5de5";
//        String clientSecret = "ace6af7f0c1392306da3c9dcbeef4621fe1f792f";
//        PopClient client = new PopHttpClient(clientId, clientSecret);
//        PddDdkGoodsSearchRequest request = new PddDdkGoodsSearchRequest();
//        request.setKeyword("书");
//        request.setOptId(11716L);
//        PddDdkGoodsSearchResponse response = client.syncInvoke(request);
//        System.out.println(JsonUtil.transferToJson(response));
//
//
////        PopClient client = new PopHttpClient(clientId, clientSecret);
////
////        PddGoodsOptGetRequest request = new PddGoodsOptGetRequest();
////        request.setParentOptId(0);
////        PddGoodsOptGetResponse response = client.syncInvoke(request);
////        System.out.println(JsonUtil.transferToJson(response));
//    }
//}
